package com.example.shop_car_2208.entity

import com.chad.library.adapter.base.entity.MultiItemEntity

data class CommentEntityResult(
    val code: Int,
    val `data`: List<CommentEntity>,
    val message: String
)

data class CommentEntity(
    val childcount: Int,
    val createtime: String,
    val icon: String,
    val id: Int,
    val msg: String,
    val parentid: Int,
    val rootid: Int,
    val tousername: Any,
    val type: Int,
    val username: String
): MultiItemEntity{
    override val itemType: Int
        get() = type
}